function msgs(msg){
	var html = '<div id="msgs" style="height: 100%; width: 100%; background-color: rgba(0,0,0,0); position: fixed; top: 0; left: 0;"></div><div id="msgss" style="position: fixed;top:40%;left:5%;width: 79%; padding: 20px; border-radius: 7px; text-align: center;background-color: rgba(0,0,0,.7);"><span style="font-size: 16px;color:#FFF;">'+ msg +'</span></div>';
	$("body").append(html);
	setTimeout(function(){$('#msgs').remove(),$('#msgss').remove()},3000);
}

function duihua(msg,url,text ,txt){
	
	if(!url || url == 'undefined'){
		url = 'javascript:;';
	}
	if(!text || text == 'undefined'){
		text = '我也想玩';
	}
	if(!txt || txt == 'undefined'){
		txt = '关闭';
	}
	
	
	var html = '<div id="J_Mask"><div class="mask" style="display: block;background: rgba(0,0,0,.6)"></div><div class="tipbox"><p class="con">'+ msg +'</p><p class="lx-tipbox-btn"><a href="'+ url +'" id="J_WantHai" style="border-right: 1px solid #E7E7E7;">'+ text +'</a><a href="javascript:;" id="J_LxClose">'+ txt +'</a></p></div></div>';
	$("body").append(html);
}

$(document).on('click','#J_LxClose , #J_WantHai ',function(){
	$('#J_Mask').remove();
})

